Клавиатура от Apple

Apple Keyboard

[[//thexnews.com/%D0%BA%D0%BB%D0%B0%D0%B2%D0%B8%D0%B0%D1%82%D1%83%D1%80%D0%B0-%D0%BE%D1%82-apple-%D0%B8-ubuntu-804.html|Клавиатура от Apple]]

  1. Edit the /etc/rc.local file.

    sudo gedit /etc/rc.local

  2. Add lines near the end of the file, before the exit 0 line:

    echo 2 > /sys/module/hid_apple/parameters/fnmode || true echo 1 > /sys/module/hid_apple/parameters/swap_opt_cmd || true echo 0 > /sys/module/hid_apple/parameters/iso_layout || true

Swap fn and ctrl

https://github.com/free5lot/hid-apple-patched

sudo gedit /etc/rc.local

echo 1 > /sys/module/hid_apple/parameters/swap_fn_leftctrl || true